//
//  CreditTextFiled.h
//

#import <UIKit/UIKit.h>

@interface CreditTextFiled : UITextField

@property (nonatomic, assign) BOOL drawLeftLine;
@property (nonatomic, assign) BOOL drawRightLine;
@property (nonatomic, assign) BOOL drawTopLine;
@property (nonatomic, assign) BOOL drawBottomLine;
@property (nonatomic, assign) CGFloat lineWidth;
@property (nonatomic, strong) UIColor * lineColor;
@property (nonatomic, assign) NSInteger limitedCount;

- (void)addLeftViewWithImageName:(NSString *)imageName leftMargin:(CGFloat)leftMargin leftViewMode:(UITextFieldViewMode)leftViewMode;

- (void)addLeftViewWithTitle:(NSString *)title leftMargin:(CGFloat)leftMargin leftWidth:(CGFloat)leftWidth leftColor:(UIColor *)textColor leftFont:(UIFont *)font leftViewMode:(UITextFieldViewMode)leftViewMode;

- (void)addClearButtonWithRightMargin:(CGFloat)rightMargin imageName:(NSString *)imageName;



@end
